package Entities;

/**
 *
 * @author 647_2
 */
public class Playlist extends BaseEntity {

    // TODO Добавить конфиг

    private String title;
    private User author;

    public Playlist(){
        super();
        title = null;
        author = null;
    }

    public Playlist(int ID, String title, User author){
        super(ID, "Сущность плейлиста");
        this.title = title;
        this.author = author;
    }

    public Playlist(String title, User author){
        super("Сущность плейлиста");
        this.title = title;
        this.author = author;
    }

    public String get_title() {
        return title;
    }

    public void set_author(User author) {
        this.author = author;
    }

    public User get_author() {
        return author;
    }

    public void set_title(String title) {
        this.title = title;
    }

}
